The film The Silent Enemy was filmed on location in Gibraltar in 1958. It is a dramatisation of the period during the Second World War when Lionel "Buster" Crabb served as a mine and disposal officer in Gibraltar while frogmen of the Italian Navy's Tenth Light Flotilla were sinking vital shipping.
The 1982 film Tangiers is partly set in Gibraltar.
In the German-language film Das Boot, a German U-boat struggles in its attempt to get past the British navy in Gibraltar to relocate to a base in the Mediterranean sea.
In the 1981 animated feature film Heavy Metal, in the section entitled Den, the character of Katherine Wells states that she is a native of Gibralter.
The popular BBC 90's TV show The Detectives, has an episode set in Gibraltar and features a ride in the cable car.
The satirical novel Gil Braltar by Jules Verne (1887) describes an almost successful attack of the monkeys on the fortress.
"The Day of an American Journalist in 2889", an 1889 Jules Verne short story, also mentions Gibraltar as the last territory of a British Empire, with even Great Britain having been annexed by the United States.[1]
Raffles' Crime in Gibraltar by Barry Perowne, a Sexton Blake story set in Gibraltar in 1937 (U.S. title: They Hang Them in Gibraltar).
Scruffy by Paul Gallico is set on Gibraltar during World War II. It follows the steady decline in the size of the Macaque colony and the possible fulfilment of the superstition that Gibraltar will fall if it disappears.
As Molly Bloom is a native Gibraltarian, references to Gibraltar appear throughout James Joyce's Ulysses (1922). A sculpture of Molly Bloom as imagined by local artist Jon Searle is on display in the Alameda Gardens.
John Masters' book The Rock is a collection of short stories set in Gibraltar: ranging from a story set in prehistoric times to one suggesting a possible future for the Rock.
In Maud Hart Lovelace's book Betsy and the Great World, the heroine goes on a cruise to Europe and makes a stop at Gibraltar, where she learns about its history and legends, and goes shopping.
Raymond Benson's James Bond novel Doubleshot deals with a fictional plot to forcibly return Gibraltar to Spain. The climax takes place in Gibraltar.
Vicente Blasco Ibáñez's Luna Benamor tells the story of an impossible love story between a Spanish diplomat and a Gibraltarian woman, of Jewish descent, Luna Benamor.
In James Barrington's novel Overkill, a Russian ship containing a nuclear device is left in the Port of Gibraltar by a Russian politician as a 'demonstration'. The device is dismantled by SAS forces.
In Anthony Horowitz's novel, Scorpia Rising, an identical copy of Alex Rider, the protagonist, is being held in a secret prison on Gibralter.
Amos Lee sings "I'm like the rock of Gibraltar" in his song "Sweet Pea".
Jason Mraz sings "Why don't you tell me about the sunsets in Sweden and the laws of Eden / And how you were the rock of Gibraltar" in the song "Zero Percent" from his 2001 album "Live & Acoustic".
English rapper Example references Gibraltar in his song "Something in the Water".